/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD.PM;

import java.util.ArrayList;

/**
 *
 * @author Msmdouh
 */
public class ViewQuestion {
    
    private int questionID;
    private String question;
    
    public int getQuestionID(){
        return questionID;
    }
    
    public void setQuestionID(int questionID){
        this.questionID = questionID;
    }
    
    public String getQuestion(){
        return question;
    }
    
    public void setQuestion(String question){
        this.question = question;
    }
    
     public static ArrayList<ViewQuestion> genTempQuestion(){
        ArrayList<ViewQuestion> array = new ArrayList();    
        ViewQuestion data = new ViewQuestion();
        ViewQuestion data1 = new ViewQuestion();
    
        data.setQuestionID(1);
        data.setQuestion("Question number 1");
        
        data1.setQuestionID(2);
        data1.setQuestion("Question number2");
        
        array.add(data);
        array.add(data1);
        
        return array;
    }
}
